package com.ants.modules.extension.service.impl;

import com.ants.modules.extension.entity.Extension;
import com.ants.modules.extension.mapper.ExtensionMapper;
import com.ants.modules.extension.service.ExtensionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO
 * Author Chen
 * Date   2021/9/7 18:44
 */
@Service
public class ExtensionServiceImpl extends ServiceImpl<ExtensionMapper, Extension> implements ExtensionService {

    @Override
    public List<Extension> getHomeAdList(Integer randNum) {
        return baseMapper.getHomeAdList(randNum);
    }

    @Override
    public Extension getAsideAdList() {
        return baseMapper.getAsideAdList();
    }
}
